package document;

import java.io.Serializable;

public class DocPermissions implements Serializable{
	int docid;
	public int getDocid() {
		return docid;
	}
	public void setDocid(int docid) {
		this.docid = docid;
	}
	public int getUserid() {
		return userid;
	}
	public void setUserid(int userid) {
		this.userid = userid;
	}
	public String getPermissions() {
		return permissions;
	}
	public void setPermissions(String permissions) {
		this.permissions = permissions;
	}
	int userid;
	String permissions;
	public DocPermissions(int d, int u, String p){
		this.docid = d;
		this.userid = u;
		this.permissions = p;
	}
	public String toString(){
		return (docid + " "+ userid + " "+permissions);
	}
}
